
.first-right-n{
    width: 100%;
    height: 100%;
    position: absolute;
}

.first-right-n .panel-heading{
    width: 100%;
    height: 70px;
    padding: 5px;
}

#user-header{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url("../images/default-header-1.jpg");
    background-size: 100% 100%;
    float: left;
    position: relative;
}

#user-header:hover::after{
    content: '编辑资料';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    vertical-align: middle;
    line-height: 60px;
    font-size: 12px;
    color: whitesmoke;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

#user-name, #pay, #my-address{
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    color: #000;
}

#user-name:hover, #pay:hover, #my-address:hover, #first-right-1 li:hover{
    color: red;
    cursor: pointer;
}

#user-name{
    width: 180px;
    float: left;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow-ellipsis: ellipsis;
}

#pay{
    width: 20%;
    float: right;
}

#my-address{
    width: 20%;
    float: right;
}

#first-right-1 .panel-body ul{
    width: 100%;
    padding: 5px 0;
    margin: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}

#first-right-1 .panel-body ul li{
    width: 20%;
    margin: 0;
    border-left: #5e5e5e 1px solid;
    text-align: center;
}

#first-right-1 .panel-body ul li:first-child{
    border-left: 0;
}

#you-like .panel-heading {
    height: auto;
    padding: 10px;
}

#you-like .panel-heading button{
    float: right;
}

#like-body{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

#like-body:before, #like-body:after{
    content: none;
}


.book-wrap{
    padding:7px 5px;
}

.book {
    width:110px;
    height: auto;
    margin: auto;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor:pointer;
}

.book img{
    width:100%;
    height:135px;
}

.book p{
    width:100%;
    height:20px;
    line-height: 20px;
    font-size:10px;
    font-weight:bold;
    margin-top:4px;
    margin-bottom:0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-all;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.book:hover{
    text-decoration: none;
}



.testBox{
    width: 180px;
    height: 200px;
    background: red;
    display: inline-block;
    margin: 10px;
    border: 1px black solid;
}
